package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.ComplaintBiz;
import ui.activity.mine.contract.ComplaintContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ComplaintModule {
    private ComplaintContract.View view;

    public ComplaintModule(ComplaintContract.View view) {
        this.view = view;
    }

    @Provides
    public ComplaintContract.View provideView() {
        return view;
    }

    @Provides
    public ComplaintBiz provideBiz() {
        return new ComplaintBiz();
    }
}